import app
from api.userApi import UserApi
from api.orderApi import OrderApi

res = UserApi().creatApi().json()
print(res)
app.header["token"] = res.get("token")
print(res.get("token"))

print(UserApi().checkApi().json())

print(UserApi().getApi().json())

res = OrderApi().creatApi().json()
print(res)
res2 =OrderApi().checkApi().json()
print(res2)
res3 =OrderApi().getApi().json()
print(res3)